package com.bsbm.common.service;

import com.bsbm.common.domain.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

import java.util.List;

/**
 * Created by SABIR IQBAL on 3/27/14.
 */
public interface UserService {

    void addUser(User user);
    void editUser(User user);
    void deleteUser(int userId);
    User findUser(int userId);
    User findByUserName(String userName);
    List<User> findAllUser();

}
